package main

import "fmt"

func main() {
	//(1)类型定义，定义一个新的类型
	type Myint int
	var i Myint = 100
	fmt.Println(i)

	//(2)类型别名，换个名字而已
	type Myint2 = int
	var j Myint2 = 101
	fmt.Println(j)
}
